SciChart.Charting Assembly > SciChart.Charting.Model.Filters Namespace > FilterExtensions Class > AggregateByVolume Method : AggregateByVolume<TY>(IOhlcDataSeries<DateTime,TY>,Func<Int32,TY>,TY,IOhlcDataSeries<DateTime,TY>) Method
Type of Y values
Data series to be filtered
A selector function which returns the volume at index i
The count of volumes for each aggregated value
DataSeries to which filtered data is going to be output
AggregateByVolume<TY>(IOhlcDataSeries<DateTime,TY>,Func<Int32,TY>,TY,IOhlcDataSeries<DateTime,TY>) Method
Filters data series by time aggregation
Syntax

Parameters

dataSeries
Data series to be filtered
volumeSelector
A selector function which returns the volume at index i
volumeCount
The count of volumes for each aggregated value
filteredDataSeries
DataSeries to which filtered data is going to be output

Type Parameters

TY
Type of Y values
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also